package com.ming.multifunction.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ming.multifunction.model.domain.Comment;
import com.ming.multifunction.model.domain.User;
import com.ming.multifunction.model.vo.CommentsVO;

import java.util.List;


/**
* @author 123
* @description 针对表【comment('评论')】的数据库操作Service
* @createDate 2024-03-20 17:36:09
*/
public interface CommentService extends IService<Comment> {

    List<CommentsVO> getComments(long postId);

    long saveComment(Comment comment, User loginUser);
}
